projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c1fd2e
)
(hack-one-local-variable): Check for root using user-uid.
author
Richard M. Stallman
<rms@gnu.org>
Fri, 8 Jul 1994 21:26:56 +0000
(21:26 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Fri, 8 Jul 1994 21:26:56 +0000
(21:26 +0000)
lisp/files.el
patch
|
blob
|
history
diff --git
a/lisp/files.el
b/lisp/files.el
index ff335fe9d60882f35b4c66e1d78053d5d6fd170d..91dffa73b98747371bd61afd0acd913c82559fbb 100644
(file)
--- a/
lisp/files.el
+++ b/
lisp/files.el
@@
-1182,7
+1182,7
@@
If `enable-local-variables' is nil, this function does not check for a
(memq (nth 1 (nth 2 val))
'(lisp-indent-hook)))
;; Permit eval if not root and user says ok.
- (and (not (
string= (user-login-name) "root"
))
+ (and (not (
zerop (user-uid)
))
(or (eq enable-local-eval t)
(and enable-local-eval
(save-window-excursion